modifyEip
Description
Modify eip.
Request Method
PUT
Request Path
/customer/eip/modify
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
instanceId | BODY | string | Yes | No sample value for this parameter. | instance id |
cost | BODY | number | No | No sample value for this parameter. | amount |
isQueryCoupon | BODY | string | No | No sample value for this parameter. | query coupon flag |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
bandwidth | BODY | integer | Yes | No sample value for this parameter. | bandwidth. the range is from 1 to 5120MB. |
voucherInstanceId | BODY | string | No | No sample value for this parameter. | voucher instance id |
autoRenewalFlag | BODY | boolean | No | No sample value for this parameter. | auto renew flag |
couponInstanceId | BODY | string | No | No sample value for this parameter. | coupon instance id |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"orderId":2.02207271417009997E+18}` | information of result |
resultCode | string | 0 | result code |
resultMsg | string | success | result message |
Example
Successful Response example
{
"result":
{
"orderId":2.02207271417009997E+18
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}